/**
 * Created by lenovo on 2016/3/15.
 */
package cc.openhome;
import java.math.BigDecimal;

public class ClassObjectDecimalDemo {
    public static void main(String[] args) {
        BigDecimal operand1=new BigDecimal("1.0");
        BigDecimal operand2=new BigDecimal("0.8");
        BigDecimal result =operand1.subtract(operand2);
        System.out.println(result);

    }
}
